home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
POINT Software Programming
/
PPROG1.ISO
/
pascal
/
swag
/
ansi.swg
/
0016_Detect ANSI.SYS Present.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1993-08-27
|
304 b
|
19 lines
{
STEVE CONNET
determine whether ansi.sys is installed
}
Function LocalAnsiDetected : Boolean;
Var
Dummy : Byte;
begin
Asm
mov ah,1ah { detect ANSI.SYS device driver }
mov al,00h
int 2fh
mov dummy,al
end;
LocalAnsiDetected := Dummy = $FF;
end;